Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename the Alloc trait to AllocHandle #60591

Closed
wants to merge 1 commit into from

Conversation

SimonSapin
Copy link
Contributor

This is a breaking change to an unstable API.
Fixes rust-lang/wg-allocators#8

This change has some consensus in its issue. Landing it now will hopefully help clarify the vocabulary, including for discussion within the Allocators WG itself.

@rust-highfive
Copy link
Collaborator

r? @Kimundi

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 6, 2019
@SimonSapin
Copy link
Contributor Author

@alexcrichton My understanding of our process is that we have no strict requirement for making any change to unstable APIs. However this one has been around for a long time. How do you think we should proceed with changes like this?

This is a breaking change to an unstable API.
Fixes rust-lang/wg-allocators#8

This change has some consensus.
Landing it now will hopefully help clarify the vocabulary,
including for discussion within the Allocators WG itself.
@cramertj
Copy link
Member

cramertj commented May 7, 2019

Perhaps adding a separately-feature-gated type alias would help with the transition?

@SimonSapin
Copy link
Contributor Author

This is a trait, not a type.

AFAIR stability and deprecation attributes have no effect on pub use reexports. Has that changed?

@alexcrichton
Copy link
Member

I don't personally have a preference for how the WG operates and lands code, I'd leave that up to y'all!

I would personally consider any modifications to any unstable code ok to land at any time in terms of "scope", but I'd leave it up to the WG to determine how exactly the mode of operation should be done.

@Dylan-DPC-zz
Copy link

ping from triage @rust-lang/libs any updates?

@alexcrichton
Copy link
Member

This is a blocked on a decision from the WG, so tagging as such.

@alexcrichton alexcrichton added S-blocked Status: Marked as blocked ❌ on something else such as an RFC or other implementation work. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 20, 2019
@SimonSapin
Copy link
Contributor Author

No need to keep this open until unblocked.

@SimonSapin SimonSapin closed this Aug 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-blocked Status: Marked as blocked ❌ on something else such as an RFC or other implementation work.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename Alloc to AllocRef
6 participants